foreach x in ukmncs foreignmncs mncs{

use "${hmrc_datadir}\export_reg_final_`x'_fy",clear

label var comcode "8 digit commodity code"
label var flow "direction of trade"
label var estimation_governance "mean of all governance esitmations: in units of a normal standard distribution"
label var wb "4 for high income countries, 1 for low income countries"
label var exchange_rate "exchange rate"
label var differentiated_con "conservative classification for differentiated products:1 for differentiated goods"
label var differentiated_lib "liberal classification for differentiated products:1 for differentiated goods"
label var contig "contiguity"
label var comlang_off "common official primary language"
label var comlang_ethno "common language of main ethnic groups"
label var colony "ever in colonial relationship"
label var comcol "under a common colony"
label var curcol "current colonial relationship"
label var col45 
label var smctry "once the same country"
label var dist "distance between the post populated cities in km"
label var distw 
label var distwces
label var distcap "distance between the capital cities in km"
label var corruption_est "estimates of government corrpution"
label var corruption_pct "percentile of government corruption"
label var gvteffect_est "estimates of government effectiveness"
label var gvteffect_pct "percentile of government effectiveness"
label var law_est "estimates of law enforcenment"
label var law_pct "percentile of law enforcement"
label var stability_est "estimates of political stability, terrorist activity etc"
label var stability_pct "percentile of political stability, terrorist activity etc"
label var regulatory_est "estimates of government regulation"
label var regulatory_pct "percentile of government regulation"
label var voice_est "estimates of free speech"
label var voice_pct "percentile of free speech"
cap drop governance_est
save, replace
}
